<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%--
  Created by IntelliJ IDEA.
  User: 20971
  Date: 2021/12/30
  Time: 16:06
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>评论</title>
    <link rel="stylesheet" href="resource/css/bootstrap.css">
    <script type="text/javascript" src="resource/js/jquery-3.2.1.js"></script>
</head>
<body>
        <c:forEach var="m" items="${list}">
            评论人:${m.uname}<br>
            评论时间:<fmt:formatDate value="${m.date}" pattern="yyyy-MM-dd"></fmt:formatDate><br>
            评论内容:${m.content}<br><br>
        </c:forEach>
</body>
</html>
